
package cn.edu.nuc.creditSystem.service;

import java.util.List;

import cn.edu.nuc.creditSystem.bean.BaseBean;
import cn.edu.nuc.creditSystem.bean.TreeBean;
import cn.edu.nuc.creditSystem.utils.PageBean;

public interface BaseService<T extends BaseBean> {
	public int insert(T t);
	
	public T get(Integer id);
	
	public int update(T t);
	
	public List<T> query(T query, PageBean page);
	
	public List<T> getAll(T query);
	
	public int delete(int id);
	
	public int updateStatus(String ids, int status);
	
	public List<TreeBean> queryTree(String param);
}
